package zhoujunhao.rbac.service;

import zhoujunhao.rbac.domian.dto.UserDto;
import zhoujunhao.rbac.domian.entity.User;
import zhoujunhao.rbac.domian.vo.Result;

/**
 * 业务类接口-用户
 *
 * @author 周均壕
 * @since 2025/6/16 19:29
 */
public interface IUserService extends IBaseService<User, UserDto>{

    Result toggle(int id);

    boolean deptInUse(int deptid);

    boolean roleInUse(int roleid);
}
